package com.tdd.test;

/**
 * @author tudedong
 * @description 生成订单序列号
 * @date 2020-07-09 23:27:13
 */
public class OrderNumGenerator {

    private static int num;

    public String getOrderNumber(){
        return System.currentTimeMillis()+"-"+ ++num;
    }
}
